# $Id: PKGBUILD 137595 2011-09-10 00:12:32Z allan $
# Maintainer:
# Contributer: Jason Chu <jchu@xentac.net>

pkgname=sweep
pkgver=0.9.3
pkgrel=2
pkgdesc="Sound editing and mixing program"
arch=('i686' 'x86_64')
url="http://www.metadecks.org/software/sweep/"
license=('GPL2')
depends=('gtk2' 'libsamplerate' 'libmad' 'libvorbis' 'alsa-lib' 'speex')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('69e19bad2673f20e15224c0a5b5d4c85')

build() {
  cd $srcdir/sweep-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd $srcdir/sweep-$pkgver
  make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc localstatedir=$pkgdir/var install
}
